package transactionimplementation

import (
	abstracttransaction "salarypayment-case/AbstractTransaction"
	"salarypayment-case/Model"
	"salarypayment-case/modelimplementation"
)


type ChangeSalariedTransaction struct {
	itsSalary float64
	abstracttransaction.ChangeClassificationTransaction
}

func (ct *ChangeSalariedTransaction) GetClassification() Model.PaymentClassification {
	return modelimplementation.CreateSalariedClassification(ct.itsSalary)
}

func (ct *ChangeSalariedTransaction) GetSchedule() Model.PaymentSchedule {
	return &modelimplementation.MonthlySchedule{}
}